Skip to content
This repository was archived by the owner on May 10, 2024. It is now read-only.

PARQUET-720: Mark ScanAllValues as inline to prevent link error#161

Closed
flode wants to merge 2 commits into
apache:masterfrom
flode:fixcompile
Closed

PARQUET-720: Mark ScanAllValues as inline to prevent link error#161
flode wants to merge 2 commits into
apache:masterfrom
flode:fixcompile

Conversation

@flode

@flode flode commented Sep 15, 2016

Copy link
Copy Markdown
Contributor

When reader.h is included in multiple cpp files, it causes a linker error
because ScanAllValues is defined in multiple TUs

An alternative solution would be to move ScanAllValues to a separate cpp file.

Should I open a JIRA for this?

When reader.h is included in multiple cpp files, it causes a linker error
because ScanAllValues is defined in multiple TUs
@wesm

wesm commented Sep 16, 2016

Copy link
Copy Markdown
Member

Yes, please move the function to a .cc file. Can you create a JIRA? Thanks!

@flode flode changed the title Mark ScanAllValues as inline to prevent link error PARQUET-720 Mark ScanAllValues as inline to prevent link error Sep 16, 2016
@flode flode changed the title PARQUET-720 Mark ScanAllValues as inline to prevent link error PARQUET-720: Mark ScanAllValues as inline to prevent link error Sep 16, 2016
@xhochy

xhochy commented Sep 17, 2016

Copy link
Copy Markdown
Member

@flode Can you fix the line lengths reported in Travis? Then this is ready to merge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants